﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>请选择表单</title>
    <meta http-equiv="Access-Control-Allow-Origin" content="*" />
    <link href="../../DataUser/Style/ccbpm.css" rel="Stylesheet" />
    <script type="text/javascript" src="../Scripts/QueryString.js"></script>
    <script type="text/javascript" src="../Scripts/jquery-1.7.2.min.js"></script>
    <!-- 导入配置文件. -->
    <script type="text/javascript" src="../Scripts/config.js"></script>
    <script type="text/javascript" src="../Comm/Gener.js"></script>
    <script type="text/javascript">

        $(function () {

            // 初始化人员.   //开始加载数据.
            $.ajax({
                type: 'post',
                async: true,
                data: null,
                url: Handler + "?DoType=StartGuideFrms_Init&FK_Flow=" + GetQueryString("FK_Flow") + "&WorkID=" + GetQueryString("WorkID") + "&FID=" + GetQueryString("FID") + "&m=" + Math.random(),
                dataType: 'html',
                success: function (data) {

                    if (data.indexOf('err@') == 0) {
                        document.getElementById("Msg").innerHTML = data;
                        return;
                    }

                    var flowNo = GetQueryString("FK_Flow");

                    var frms = JSON.parse(data);
                    var html = "<ul>";
                    for (var i = 0; i < frms.length; i++) {

                        var frm = frms[i];

                        html += "<li>";
                        html += "<a href='../MyFlow.htm?FK_Flow=" + flowNo + "&FK_Node=" + flowNo + "01&IsCheckGuide=1&Frms=" + frm.FK_Frm + "' >" + frm.GuanJianZiDuan + "</a>";
                        html += "</li>";
                    }
                    html += "<ul>";
                    document.getElementById("Msg").innerHTML = html;
                }
            });
        });

    </script>

    <style type="text/css">
        #tb_msg
        {
            height: 72px;
            width: 272px;
        }
    </style>
</head>
<body>
 
 <div id="Msg"><img src='../Img/loading.gif' alt=""s />正在加载请稍候... </div>

</body>
</html>
